package com.gzx.spring.db.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.SqlCondition;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fhs.core.trans.vo.TransPojo;

import cn.hutool.core.lang.Dict;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;


@TableName("sys_dict_item")
@Data
public class SysDictItem implements Serializable, TransPojo {
	private static final long serialVersionUID = 1L;
	@TableId(value = "id", type = IdType.AUTO)
    private Integer id = null;
    @Schema(description = "字典id")
    private Integer dictId = null;
    @Schema(description = "字典代码")
    private String dictCode = null;

    @TableField(condition = SqlCondition.LIKE)    @Schema(description = "字典项文本")
    private String itemText = null;
    @Schema(description = "字典项值")
    private String itemValue = null;
    @Schema(description = "描述")
    private String itemDesc = null;
    @Schema(description = "排序")
    private Integer sort = null;
    @Schema(description = "状态（1启用 0不启用）")
    private String status = null;

    @TableField(exist = false)
    private Dict dict = null;
}
